float-to-datetime conversion fixes
authorDebian Science Team <debian-science-maintainers@lists.alioth.debian.org>
Wed, 11 Jan 2023 07:34:28 +0000 (07:34 +0000)
committerRebecca N. Palmer <rebecca_palmer@zoho.com>
Wed, 11 Jan 2023 07:34:28 +0000 (07:34 +0000)
commit97971e24bf87cf927202ad43246e6d41e574cf75
treefb4c98324107a1834faab05ec15cc30309525170
parent4a948d068b1d26417fbc74e0763434ec6072303f
float-to-datetime conversion fixes

Avoid assuming that NaN casts to NaT (= fails on riscv64/hppa ?)
Don't round to int for the bounds check when we don't for the real
conversion (wrong near the bounds, and maybe also a waste of time)

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: https://github.com/pandas-dev/pandas/pull/50183

Gbp-Pq: Name float_to_datetime.patch
pandas/_libs/tslib.pyx